#include "stdafx.h"
#include "include/Gs.h"
#include "../Context.h"
#include "../Lexer.h"

namespace Gs
{
	// Compiles a script into a function on the stack.
	void Context::CompileScript(const char *script, const char *sourceName)
	{
		Lexer lexer(this, script, sourceName);
		lexer.ScanAll();
	}
}